package com.meilai.project.controller.web.market.vo;

import com.meilai.project.controller.web.market.entity.BillMarketDetail;
import com.meilai.project.controller.web.market.entity.BillMarketDetailShootRequirement;
import com.meilai.project.entity.business.sale.BillSaleMediaDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel
public class BillMarketDetailVO extends BillMarketDetail {

    @ApiModelProperty(value = "媒体类型ID")
    private Long media_type_id;

    @ApiModelProperty(value = "媒体类型规格id")
    private String media_type_spec_id;

    @ApiModelProperty(value = "执行开始时间")
    private LocalDate execute_time_start;

    @ApiModelProperty(value = "执行结束时间")
    private LocalDate execute_time_end;

    @ApiModelProperty(value = "合同数量")
    private Long contract_quantity;

    @ApiModelProperty(value = "本次执行数量")
    private Long quantity;

    @ApiModelProperty(value = "已累计执行数量")
    private Long total_executed_quantity;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "执行金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "是否关联市场单")
    private Integer is_market;

    @ApiModelProperty(value = "执行时间范围")
    private String[] duration;

    @ApiModelProperty(value = "dateRange开始时间")
    private LocalDate dateRangeBeginDate;

    @ApiModelProperty(value = "dateRange结束时间")
    private LocalDate dateRangeEndDate;

    @ApiModelProperty(value = "拍照要求")
    List<BillMarketDetailShootRequirement> shootRequirementList;
}
